#ifndef GETPROFILEREQUEST_H
#define GETPROFILEREQUEST_H

#include "network/networkgetjsonrequest.h"

#include <QObject>
#include <QUrl>


class GetProfileResponse;

class GetProfileRequest :  public Network::GetJSONRequest
{
    Q_OBJECT
public:
    explicit GetProfileRequest(qint64 userId, const QString &sessionKey);
    ~GetProfileRequest();

private:
    GetProfileResponse *m_response;
    qint64 m_userId;
    QString m_sessionKey;

private:
    Network::JSONResponse &jsonResponse();

public:
    const Network::JSONResponse &jsonResponse() const;
    QUrl url() const;
};

#endif // GETPROFILEREQUEST_H
